package com.yy.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author YY
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Accessors(chain = true)
public class User {

    private String uid;
    private String uname;
    private String pwd;
    private String urname;
    private String usex;
    private String udpt;
    private String upost;
    private String salt;
//    @TableField(exist = false)
//    private List<Role> roles;
//    @TableField(exist = false)
//    private List<Permission> permissions;
}
